package com.stedu.bean;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data   //lombok 生成方法
@NoArgsConstructor  //无参构造方法
@AllArgsConstructor //生成全参构造方法
public class Admin {
    private Integer id;
    private String username;
    @JsonIgnore
    private String password;
}
